#!/bin/bash

# 图片输入请求

curl -X POST http://localhost:18012/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "fara",
    "messages": [
      {
        "role": "user",
        "content": [
          {
            "type": "text",
            "text": "What are the animals in these images?"
          },
          {
            "type": "image_url",
            "image_url": {
              "url": "https://vcg05.cfp.cn/creative/vcg/800/new/VCG41N1303803114.jpg"
            }
          }
        ]
      }
    ],
    "max_tokens": 2000
  }'
